<?php
/**
 * usergroup.php
 * 
 * Created on 2014-10-23
 * Create by Calvin.Wang
 */

namespace haibao\cms\model\data;

class UserGroupDefine extends Base{
	/**
	 * 正常
	 */
	const STATUS_ENABLE = 1;
	/**
	 * 删除
	 */
	const STATUS_DISABLE = 0;
	/**
	 * 组名
	 */
	public $GroupName;
	/**
	 * 组状态
	 */
	public $Status;
	/**
	 * 权限值
	 */
	public $FuncCodes;
	/**
	 * 创建时间
	 */
	public $CreateTime;
	/**
	 * 创建人
	 */
	public $CreateBy;
	/**
	 * 创建用户
	 */
	public $CreateUser;
	/**
	 * 组排序
	 */
	public $OrderSort;
	
	public function __construct(){
		parent::__construct();
		$this->stringField('GroupName', 'GroupName',true);
		$this->intField('Status', 'Status',true);
		$this->dateField('CreateTime', 'CreateTime');
		$this->intField('CreateBy', 'CreateBy');
		$this->intField('OrderSort', 'OrderSort');
		
		$this->setTableName('UserGroupDefine');
	}
}
